package day10;

public class TestConstract1 {
    public static void main(String[] args) {
        Rect r = new Rect(100,100);
        r.showArea();
    }
}

class Rect{
    int length;
    int width;

    public Rect(int width, int length){
        this.width = width;
        this.length = length;
    }

    public void showArea(){
        System.out.println(width*length);
    }
}